﻿namespace Bizspoke.BizTalk.Adapter
{
    using System;
    using System.Data.SqlClient;

    public abstract class DbInfo
    {
        protected DbInfo()
        {
        }

        public virtual SqlConnection GetConnection()
        {
            return new SqlConnection(this.ConnectionString);
        }

        public abstract string CatalogName { get; }

        public abstract string ConnectionString { get; }

        public abstract string DataSourceName { get; }
    }
}

